package unit4.part6;

public class ServiceTest {
    public static void main(String[] args) {
        Bean beanA = new Bean();

        Bean beanB = new Bean();
        beanB.setId(1);
        beanB.setName("ZhangSan");

        Bean beanC = new Bean(2, "LiSi");

        System.out.println(beanA);
        System.out.println(beanB);
        System.out.println(beanC);
    }
}
